﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace JV.MVVM {
    public class ViewModelBase: INotifyPropertyChanged {

        public event PropertyChangedEventHandler PropertyChanged;
        protected void OnPropertyChanged( string PropertyName ) {
            var ev = PropertyChanged;
            if ( ev != null ) ev( this, new PropertyChangedEventArgs( PropertyName ) );
        }

    }
}
